how to import csv in pandas

50

how to import csv in pandas -

import pandas as pd

df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)

load csv file using pandas -

import pandas as pd

df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)

Comments

Submit
0 Comments